

<tagLib name="html" />
<include file="../Public/header" />
<div id="wrap"> <include file="../Public/top" />
  <div id="content">
    <div class="mainarea">
      <div class="maininner">
        <div class="bdrcontent">
          <form id="phpform" method="post" action="__URL__/insert" class="formtable" onsubmit="return $.formValidator.pageIsValid('1')">
            <table width="100%" cellpadding="0" cellspacing="0" class="formtable">
			  <tr>
                <td width="200">职位名称：</td>
                <td><input name="job" type="text" style="width:260px;" id="job"  /></td>
              </tr>
			  <tr>
                <td>招聘数量：</td>
                <td><input name="number" type="text" id="number" style="width:60px;" /></td>
              </tr>
			  <tr>
                <td>责任与义务：</td>
                <td><textarea name="duty" rows="4" id="duty" style="width:360px;"></textarea></td>
              </tr>
			  <tr>
                <td>性别要求：</td>
                <td><input name="requireSex" type="text" style="width:100px;" id="requireSex"  /></td>
              </tr>
			  <tr>
                <td>年龄要求：</td>
                <td><input name="requireAge" type="text" style="width:100px;" id="requireAge"  /></td>
              </tr>
			  <tr>
                <td>需要具备的能力：</td>
                <td><textarea name="ability" rows="6" id="ability" style="width:460px;"></textarea></td>
              </tr>
			  <tr>
                <td>薪水待遇：</td>
                <td><input name="pay" type="text" style="width:260px;" id="pay"  /></td>
              </tr>
			  <tr>
                <td>工作地点：</td>
                <td><input name="workPlace" type="text" style="width:300px;" id="workPlace"  /></td>
              </tr>
			  <tr>
                <td>联系方式：</td>
                <td><input name="contact" type="text" style="width:260px;" id="contact"  /></td>
              </tr>
			  <tr>
                <td>到期时间：</td>
                <script type="text/javascript" src="__ROOT__/Public/DatePicker/WdatePicker.js"></script>
                <td><input name="eTime" type="text" id="eTime" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" /></td>
              </tr>
              
              <tr>
                <td>&nbsp;</td>
                <td><input type="submit" value="提交" class="submit" />
                  <input name="reset" type="reset" value="重置" class="submit" />
                  <input name="button" type="button" value="返回" onclick="javascript:history.go(-1);"  class="submit" /></td>
              </tr>
            </table>
          </form>
        </div>
        <br />
      </div>
    </div>
    <include file="../Public/menu" /> </div>
  <include file="../Public/footer" /> </div>
</body>
</html>

<script type="text/javascript">
	
$(document).ready(function(){
	$.formValidator.initConfig({autotip:true,onerror:function(msg){alert(msg)}});
	//$("#id").formValidator({onshow:"请输入id",onfocus:"id至少要输入5个汉字",oncorrect:"恭喜你,你输对了"}).inputValidator({min:10,onerror:"你输入的id长度不正确,请确认"});
	$("#job").formValidator({onshow:"请输入job",onfocus:"job至少要输入5个汉字",oncorrect:"恭喜你,你输对了"}).inputValidator({min:10,onerror:"你输入的job长度不正确,请确认"});
	$("#number").formValidator({onshow:"请输入number",onfocus:"number至少要输入5个汉字",oncorrect:"恭喜你,你输对了"}).inputValidator({min:1,max:1000,type:"value",onerror:"你输入的number长度不正确,请确认"});
	$("#duty").formValidator({onshow:"请输入duty",onfocus:"duty至少要输入5个汉字",oncorrect:"恭喜你,你输对了"}).inputValidator({min:10,onerror:"你输入的duty长度不正确,请确认"});
	$("#requireSex").formValidator({onshow:"请输入requireSex",onfocus:"requireSex至少要输入5个汉字",oncorrect:"恭喜你,你输对了"}).inputValidator({min:2,onerror:"你输入的requireSex长度不正确,请确认"});
	$("#requireAge").formValidator({onshow:"请输入requireAge",onfocus:"requireAge至少要输入5个汉字",oncorrect:"恭喜你,你输对了"}).inputValidator({min:2,onerror:"你输入的requireAge长度不正确,请确认"});
	$("#ability").formValidator({onshow:"请输入ability",onfocus:"ability至少要输入5个汉字",oncorrect:"恭喜你,你输对了"}).inputValidator({min:10,onerror:"你输入的ability长度不正确,请确认"});
	$("#pay").formValidator({onshow:"请输入pay",onfocus:"pay至少要输入5个汉字",oncorrect:"恭喜你,你输对了"}).inputValidator({min:10,onerror:"你输入的pay长度不正确,请确认"});
	$("#workPlace").formValidator({onshow:"请输入workPlace",onfocus:"workPlace至少要输入5个汉字",oncorrect:"恭喜你,你输对了"}).inputValidator({min:10,onerror:"你输入的workPlace长度不正确,请确认"});
	$("#contact").formValidator({onshow:"请输入contact",onfocus:"contact至少要输入5个汉字",oncorrect:"恭喜你,你输对了"}).inputValidator({min:10,onerror:"你输入的contact长度不正确,请确认"});
	$("#eTime").formValidator({onshow:"请输入eTime",onfocus:"eTime至少要输入5个汉字",oncorrect:"恭喜你,你输对了"}).inputValidator({min:1,onerror:"你输入的eTime长度不正确,请确认"});
	//$("#cTime").formValidator({onshow:"请输入cTime",onfocus:"cTime至少要输入5个汉字",oncorrect:"恭喜你,你输对了"}).inputValidator({min:10,onerror:"你输入的cTime长度不正确,请确认"});
});
	
</script>